===========================================
ABC - Sleeping Bag Mod
-------
Author: Speed aka LW.
===========================================

General information:

This mod let you sleep using inventory menu, all you have to do is to click on "sleeping bag" and a new menu will popup.
It's very simple and you dont need to buy the sleep bag from trader, when the level start you will see your sleeping bag :)
This mod is part of the new ABC version, which was already planned, but v8motorhead was asking in my thread how to do it and i posted how i would do, then i did the code and i decided to release it as mini mod.
enjoy.

===========================================
1) Install without mods:
===========================================

Unzip everything into your stalker directory. 

If you have not used mods before, you will need to open your fsgame.ltx file found in the "program files/thq/Stalker" directory.
Open this file with a text editor and find the following line:

$game_data$ = false| true| $fs_root$| gamedata

Change the false to true, i.e.:

$game_data$ = true| true| $fs_root$| gamedata


==========================================
2) Install with others mods:
==========================================

Go "config" folder and open localization.ltx and look for:
"files = "
at the end of this big list add ",string_table_abc2" without quote.



If you have ABC mod, then before moving this mod to your gamedata, you must delete config\ui\ui_movies.xml, scripts\sleep_manager.script  and fix config\localization.ltx from sleep mod.




==========================================
3) Languages:
==========================================

You can install this mod with others languages, you will need to edit your localization.ltx file.
and change:
language = eng
to your lang.
ie. ger, ita, rus, etc... 

You can translate this mod by editing string_table_abc2.xml file inside config\text\YOUR_LANG


===========================================
Credits:
This mod use the old "Dream Mod" without dialogs.
The little UI code was posted long time ago in a russian forum, i used some of it and tweaked it, the rest are all mine.

===========================================
Marty2Base 2017-04-20
I have updated this bag, it can now used as no Quest Item. (Maked a Crash
on drop). Added and Fixed for the Assigned "Drop Key".  I hope the "can not
open bug" is fixed. (Engine say'ed "cl Destory" and the bag is lost). I added
a ID (Idea from Return of man Mod) and on use it will now Close the Inventory
and Center the Bag Window on Screen.  The Weapon will be hided too.
I added a Enemy/Friend/Neutral/Monster Detect.
The Idea came from Stalkersoup (thanks aleks1970). Added more sentences
to string_table_abc2.xml. 
You can use the Keys too. If the Sleep bag is Open you can
1 or Numpad 1 = one hour, 3 or Numpad 3 = three hours, 9 or  numpad 9 for
nine hours. Use 0 or Numpad 0 for "unlmited". Added a Mesh from Amk and
i changed the Texture. (Thanks to AMK Guy). Added Actor is Radit.

Missing and Todo
Actor is -> Death - somtimes the time factor is not restored
Actor is -> Saviety   - Missing a Option
Actor is -> Bleeding  - Missing a Option